","$email",$this[$line]); } } else { ///////////////////////////////////////////// $emailbody = "Hello,\n"; $emailbody .= "\n"; $emailbody .= "This email is to inform you that\n"; $emailbody .= "your email address $email \n"; $emailbody .= "has successfully been removed from\n"; $emailbody .= "our database. To subscribe again\n"; $emailbody .= "please visit our website:\n"; $emailbody .= "http://www.$domainparsed/\n"; $emailbody .= "\n"; $emailbody .= "As a GoodBye Gift, We've gathered\n"; $emailbody .= "some really great discounts for you.\n"; $emailbody .= "These are not offered anywhere on the\n"; $emailbody .= "net and are only avaiable thru US to give.\n"; $emailbody .= "We hope you enjoy these as much as we\n"; $emailbody .= "have..\n"; $emailbody .= "\n"; if($genniche == "amateur") { $emailbody .= " ** EXCLUSIVE 1 DAY FREE TRIALS **\n"; $emailbody .= "Juicy Loads - http://fetishads.com/juicyloads.php\n"; $emailbody .= "Wow 18 - http://fetishads.com/wow18.php\n"; $emailbody .= "Superior XXX - http://fetishads.com/superiorxxx.php\n"; $emailbody .= "Softcore Cuties - http://fetishads.com/softcorecuties.php\n"; } elseif($genniche == "ebony") { $emailbody .= " ** EXCLUSIVE 1 DAY FREE TRIALS **\n"; $emailbody .= "Juicy Loads - http://fetishads.com/juicyloads.php\n"; $emailbody .= "Wow 18 - http://fetishads.com/wow18.php\n"; $emailbody .= "Superior XXX - http://fetishads.com/superiorxxx.php\n"; $emailbody .= "Softcore Cuties - http://fetishads.com/softcorecuties.php\n"; } else { $emailbody .= " ** EXCLUSIVE 1 DAY FREE TRIALS **\n"; $emailbody .= "Juicy Loads - http://fetishads.com/juicyloads.php\n"; $emailbody .= "Wow 18 - http://fetishads.com/wow18.php\n"; $emailbody .= "Superior XXX - http://fetishads.com/superiorxxx.php\n"; $emailbody .= "Softcore Cuties - http://fetishads.com/softcorecuties.php\n"; } $emailbody .= "\n"; $emailbody .= "We hope you've enjoyed your membership to \n"; $emailbody .= "our website.\n"; $emailbody .= "\n"; $emailbody .= "\n"; $emailbody .= "Thank you!\n"; $emailbody .= "- support@$domainparsed\n"; } if (!$subject) { $subject = "You're Un-subscribed, Good Bye!"; } $headers .= "From: support@$domainparsed\n"; $headers .= "Reply-To: support@$domainparsed\n"; $php_version = phpversion(); $headers .= "X-Mailer: PHP/$php_version\n"; $headers .= "X-Sender: support@$domainparsed\n"; $headers .= "X-U64E: " . base64_encode("$email") . "\n"; mail($email,$subject,$emailbody,$headers); } ##################### HEADER & TEMPLATE BLOCK ######################### $my_host = strtolower($SERVER_NAME); $my_arr = explode(".",$my_host); if (sizeof($my_arr) == '2') { $htaccess = $my_arr[0]; $domainparsed = $my_host; } else { $try_first = "$my_arr[1].$my_arr[2]"; $htaccess = $my_arr[1]; $domainparsed = $try_first; } $include = $_SERVER["DOCUMENT_ROOT"] . "/header_logo.php"; include_once("../ezine_inc/bighip.vars.php"); $listid = (int)$bighip["$siteid"]; ############################# MAIN ROUTINE BLOCK ################################3 if ($trigger) { if (!$email) { $responce = "You must enter an email address for us to unsubscribe."; } else { $email = trim(strtolower($email)); $email_escaped = mysql_escape_string($email); if ($additional_check) { // since we don't know niche they are from, we have to delete from ALL smut daily members tables $sql2 = "SELECT * FROM ".$db_name.".websites, ".$db_name.".website_programs WHERE websites.websiteurl LIKE '%smutdailymailer%' AND website_programs.websiteid=websites.websiteid"; $exe2 = mysql_query($sql2,$db); while($res2 = mysql_fetch_assoc($exe2)) { extract($res2); // DELETE FROM MEMBERS TABLE - NO MATTER WHAT! $sql = "DELETE FROM ezine_members.ezine_${websiteid}_members WHERE email='$email_escaped'"; $exe = mysql_query($sql,$db); $del_num = mysql_affected_rows($db); } } else { $sql3 = "SELECT status FROM ezine_members.ezine_${siteid}_members WHERE email='$email_escaped' LIMIT 1"; $exe3 = mysql_query($sql3,$db); while($res3 = mysql_fetch_assoc($exe3)) { extract($res3); } if ($listid AND $status == 'bonded') { ########################################################################## ## BEGIN BIGHIP BLOCK ########################################################################## $url = "http://moderator.bighip.com/remove_membership.jsp?listid=$listid&email=$email&remoteaddr=$usersip"; $user_agent = "beano33"; $ch = curl_init(); if (!$ch) { // log failures @log_bighip_unsubscribes("FAILURE: " . "Failed to even initialize cURL",__LINE__,__FILE__); } @curl_setopt($ch, CURLOPT_URL,$url); @curl_setopt($ch, CURLOPT_USERAGENT, $user_agent); @curl_setopt($ch, CURLOPT_FOLLOWLOCATION,1); @curl_setopt($ch, CURLOPT_RETURNTRANSFER,1); @curl_setopt($ch, CURLOPT_TIMEOUT,30); @curl_setopt($ch, CURLOPT_REFERER, "http://{$_SERVER['HTTP_HOST']}{$_SERVER['REQUEST_URI']}"); // execute cURL $result=@curl_exec($ch); if (empty($result)) { // log failures @log_bighip_unsubscribes("FAILURE: " . @curl_error($ch),__LINE__,__FILE__); } // get technical info on the connection $info = @curl_getinfo($ch); // close connection @curl_close($ch); if (empty($info['http_code']) OR $info['http_code'] >= 400 OR $info['http_code'] <= 0) { // log failures @log_bighip_unsubscribes("FAILURE: " . urlencode(trim($result)),__LINE__,__FILE__); } else { if (strpos(trim($result),"You have been removed") === FALSE) { // log failures @log_bighip_unsubscribes("FAILURED TO UNSUBSCRIBE: $email => $listid",__LINE__,__FILE__); } else { // log successes (temporarily) @log_bighip_unsubscribes("UNSUBSCRIBED: $email => $listid",__LINE__,__FILE__); } } ########################################################################## ## ENDOF BIGHIP BLOCK ########################################################################## } // DELETE FROM MEMBERS TABLE - NO MATTER WHAT! $sql = "DELETE FROM ezine_members.ezine_${siteid}_members WHERE email='$email_escaped'"; $exe = mysql_query($sql,$db); $del_num = mysql_affected_rows($db); } // get range of possible periods $period_range = array_reverse(get_period_range("12","16","2001",date("m"),date("d"),date("Y"))); // todays subscription table $archives[] = "`$subs_main_db`.`subscriptions_" . $programid . "`"; // get all the period archives foreach($period_range AS $a => $period) { $archives[] = "`$subs_arch_db`.`archived_" . $programid . "_" . $period[year] . "_" . $period[month] . "_" . $period[period] ."`"; } $b = 0; for($a=0;$a\n"); } else { // echo("\n"); } unset($send); unset($upd_sql); } } // if user was unsubscribed, send unsubscribe email.. if ($del_num >= '1' OR $canceled) { unset($subject); unset($template); $final_responce = "Your Email Address Has Been Unsubscribed. Have a nice day!"; if (!$ne) { send_final_email($email,$HTTP_HOST,$template,$subject); } } $reseller = $webmaster; //skip for now $timeline = $chk_time + 1; // if all the conditions are correct - add one point to the monitor counter if ($canceled AND $user_found AND $webmaster != 'none' AND $webmaster != 'hawgscash' AND $timeline <= $chk_time) { $sql_str = "SELECT * FROM $db_name.monitor WHERE username='$reseller'"; $sql_exe = mysql_query($sql_str,$db); $sql_num = mysql_num_rows($sql_exe); if ($sql_num > 0) { // row exists.. update.. $sql_str = "UPDATE $db_name.monitor SET counter=counter + 1 WHERE username='$reseller'"; $sql_exe = mysql_query($sql_str,$db); } else { // row doesn't exist, insert.. $sql_str = "INSERT INTO $db_name.monitor (username,counter) values ('$reseller','1')"; $sql_exe = mysql_query($sql_str,$db); } } if (!$user_found) { if ($del_num >= 1) { $final_responce = "Your Email Address '$email' Has Been Unsubscribed. Have a nice day!"; } else { $final_responce = "Your Email Address '$email' is Already Unsubscribed. Have a nice day!"; } } } } ?> <? echo($sitename); ?> - Membership & Subscription Cancelation Form


$responce"); ?>

Membership Cancelation Form

Enter Your Info Below
Email Address: ">




note: because of our email list caching system, it can take upto 24 hours to be completely removed
from our mailing list, so you may recived one more email from us. please disregard that email
and delete it from your computer - you will not recieve anymore emails after that.


PRIVACY ALERT!
YOU HAVE BEEN DETECTED VISITING ADULT SITES!

CLICK HERE TO PROTECT YOUR PRIVACY